Simplify time in gopal.
authorRobert Lipe <robertlipe@gpsbabel.org>
Tue, 5 Dec 2017 06:48:01 +0000 (00:48 -0600)
committerRobert Lipe <robertlipe@gpsbabel.org>
Tue, 5 Dec 2017 06:48:01 +0000 (00:48 -0600)
gopal.cc

index 417f6d8c028dc6c7aca7c6186b7f645ce47c92c1..77614aa80a042b5313d8d6a163856b177f31889c 100644 (file)
--- a/gopal.cc
+++ b/gopal.cc
 #include "grtcirc.h"
 #include "jeeps/gpsmath.h"
 #include "strptime.h"
-#include <QtCore/QDateTime>
-#include <QtCore/QString>
 #include <cmath>
 #include <cstdio>
 #include <cstdlib>
+#include <QtCore/QDateTime>
+#include <QtCore/QString>
 
 #define MYNAME "gopal"
 
@@ -66,7 +66,6 @@ static gbfile* fin, *fout;
 
 static struct tm tm,filenamedate, trackdate;
 time_t         tx;
-char tmp[64];
 static char* optdate=NULL;
 static char* optmaxspeed=NULL;
 static char* optminspeed=NULL;